package dm1101.demo04;

import dm1101.demo03.Girl;

/**
 * @author Ln
 * @version 终极版
 * @date 2022/11/1 16:47
 */
public class Test04 {
    public static void main(String[] args) {
        BankCard bankCard = new BankCard();
        Boy boy = new Boy(bankCard);
        boy.setName("舔狗");

        Belle belle = new Belle(bankCard);
        belle.setName("美女");

        boy.start();
        belle.start();
    }
}
